package com.cuzofu.fs.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cuzofu.fs.entity.UnitEntity;
import com.cuzofu.fs.vo.UnitVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 单体信息
 * 
 * @author cuzofu
 * @email cuzofu@qq.com
 * @date 2020-07-10 08:44:49
 */
@Mapper
public interface UnitDao extends BaseMapper<UnitEntity> {

    IPage<UnitVO> queryUnitPage(IPage<UnitVO> page, @Param("ew") Wrapper<UnitVO> qw);

    UnitVO queryUnitById(String id);

    List<UnitVO> queryMajorListByUid(String pid);

}
